package com.example.fitapp.activity.http.api.user;

import com.example.fitapp.activity.http.util.ApiUtil;

import org.json.JSONObject;

public class UserRegistered extends ApiUtil {
    public String mResponse;

    public  UserRegistered (String email,String password1,String password2,String nickName){
        addParams("email",email);
        addParams("password1",password1);
        addParams("password2",password2);
        addParams("nickname",nickName);
    }
    @Override
    protected String getUrl() {
        return "/v1/token/registerByEmail";
    }

    @Override
    protected void parseData(JSONObject jsonObject)  {
        mResponse = jsonObject.toString();
    }
}
